#ifndef CLIENTTEST_H
#define CLIENTTEST_H

#include "Database/AnalysisSql.h"
#include "Tools/Helper.h"
#include "Task/TaskApi.h"
#include "QThread"
#include "Task/AsyncRunner.h"
#include "AppConfig.h"
#include "Task/ScanApi.h"

const QString testId = "bb3380afe9282e749b035c93fd6eca74185e71735da628ab9764a10cabf5f881";
const QVector<QString> testfileList{
    "/home/tacom/Development/Mounts/RemoteSync/Seafile/P-EM-DataTest/20230718111947-test-right-center-1998.12-20230718153245-s.jpg",
    "/home/tacom/Development/Mounts/RemoteSync/Seafile/P-EM-DataTest/20230718111947-test-right-center-1998.12-20230719100601-s.jpg"
};

class ClientTest
{
public:
    static void run_test();

    // 数据库
    static void test_sql();

    // 常用辅助函数
    static void test_helper();

    // 网络通信
    static void test_network();
    static void test_task_create();
    static void test_task_upload();
    static void test_task_put();
    static void test_task_query();
    static void test_result_query();

    // task系列
    static void test_task_progress();

    // 文件系列
    static void test_scan_progress();
};

#endif // CLIENTTEST_H
